﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ManhattanProcedure.Model
{
   
    public class CoffeeIOModel
    {
        private static CoffeeIOModel instance;
        private CoffeeIOModel() { }
        public static CoffeeIOModel Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new CoffeeIOModel();
                }
                return instance;
            }
        }
        #region IO控制指令
        /// <summary>
        /// 咖啡杯落杯1 开
        /// </summary>
        public string Drop_Cup_start { get; set; } = "01 05 00 00 FF 00 8C 3A ";
        /// <summary>
        ///咖啡杯落杯1 关
        /// </summary>
        public string Drop_Cup_end { get; set; } = "01 05 00 00 00 00 CD CA ";
        /// <summary>
        /// 机器人远程开机 开
        /// </summary>
        public string RobotPowerOn_start { get; set; } = "01 05 00 08 FF 00 0D F8";
        /// <summary>
        /// 机器人远程开机 关
        /// </summary>
        public string RobotPowerOn_end { get; set; } = "01 05 00 08 00 00 4C 08";
        /// <summary>
        /// 机器人远程开机 开
        /// </summary>
        public string RobotPowerOn2_start { get; set; } = "01 05 00 09 FF 00 5C 38";
        /// <summary>
        /// 机器人远程开机 关
        /// </summary>
        public string RobotPowerOn2_end { get; set; } = "01 05 00 09 00 00 1D C8";
        /// <summary>
        /// 推杆上升开
        /// </summary>
        public string PushRod_UP_start { get; set; } = "01 05 00 02 FF 00 2D FA";
        /// <summary>
        /// 推杆上升关
        /// </summary>
        public string PushRod_UP_end { get; set; } = "01 05 00 02 00 00 6C 0A";
        /// <summary>
        /// 推杆下降开
        /// </summary>
        public string PushRod_Down_start { get; set; } = "01 05 00 03 FF 00 7C 3A";
        /// <summary>
        /// 推杆下降关
        /// </summary>
        public string PushRod_Down_end { get; set; } = "01 05 00 03 00 00 3D CA";
        #endregion
        #region 查询数据
        public string AllMessage { get; set; } = "02 04 00 00 00 32 71 EC";
        #endregion
        #region 机器人左臂指令
        /// <summary>
        /// 开始制作 开
        /// </summary>
        public string KSZZ_Robot_Left_Start { get; set; } = "04 05 00 28 FF 00 0C 67";
        /// <summary>
        /// 开始制作 关
        /// </summary>
        public string KSZZ_Robot_Left_End { get; set; } = "04 05 00 28 00 00 4D 97";
        /// <summary>
        /// 取杯 开
        /// </summary>
        public string QB_Robot_Left_Start { get; set; } = "04 05 00 29 FF 00 5D A7";
        /// <summary>
        /// 取杯 关
        /// </summary>
        public string QB_Robot_Left_End { get; set; } = "04 05 00 29 00 00 1C 57";
        /// <summary>
        /// 杯检测 开
        /// </summary>
        public string BJC_Robot_Left_Start { get; set; } = "04 05 00 2B FF 00 FC 67";
        /// <summary>
        /// 杯检测 关
        /// </summary>
        public string BJC_Robot_Left_End { get; set; } = "04 05 00 2B 00 00 BD 97";
        /// <summary>
        /// 接咖啡 开
        /// </summary>
        public string JKF_Robot_Left_Start { get; set; } = "04 05 00 2C FF 00 4D A6";
        /// <summary>
        /// 接咖啡 关
        /// </summary>
        public string JKF_Robot_Left_End { get; set; } = "04 05 00 2C 00 00 0C 56";
        /// <summary>
        /// 咖啡完成 开
        /// </summary>
        public string KFWC_Robot_Left_Start { get; set; } = "04 05 00 2D FF 00 1C 66";
        /// <summary>
        /// 咖啡完成 关
        /// </summary>
        public string KFWC_Robot_Left_End { get; set; } = "04 05 00 2D 00 00 5D 96";
        /// <summary>
        /// 去打印 开
        /// </summary>
        public string QDY_Robot_Left_Start { get; set; } = "04 05 00 2E FF 00 EC 66";
        /// <summary>
        /// 去打印 关
        /// </summary>
        public string QDY_Robot_Left_End { get; set; } = "04 05 00 2E 00 00 AD 96";
        /// <summary>
        /// 打印完成 开
        /// </summary>
        public string DYWC_Robot_Left_Start { get; set; } = "04 05 00 2F FF 00 BD A6";
        /// <summary>
        /// 打印完成 关
        /// </summary>
        public string DYWC_Robot_Left_End { get; set; } = "04 05 00 2F 00 00 FC 56";
        /// <summary>
        /// 出杯 开
        /// </summary>
        public string CB_Robot_Left_Start { get; set; } = "04 05 00 30 FF 00 8C 60";
        /// <summary>
        /// 出杯 关
        /// </summary>
        public string CB_Robot_Left_End { get; set; } = "04 05 00 30 00 00 CD 90";
        /// <summary>
        /// 接杯失败 开
        /// </summary>
        public string JBSB_Robot_Left_Start { get; set; } = "04 05 00 32 FF 00 2D A0";
        /// <summary>
        /// 接杯失败 关
        /// </summary>
        public string JBSB_Robot_Left_End { get; set; } = "04 05 00 32 00 00 6C 50";
        /// <summary>
        /// 接杯成功 开
        /// </summary>
        public string JBCG_Robot_Left_Start { get; set; } = "04 05 00 33 FF 00 7C 60";
        /// <summary>
        /// 接杯成功 关
        /// </summary>
        public string JBCG_Robot_Left_End { get; set; } = "04 05 00 33 00 00 3D 90";
        /// <summary>
        /// 冰咖啡 开
        /// </summary>
        public string BKF_Robot_Left_Start { get; set; } = "04 05 00 34 FF 00 CD A1";
        /// <summary>
        /// 冰咖啡 关
        /// </summary>
        public string BKF_Robot_Left_End { get; set; } = "04 05 00 34 00 00 8C 51";
        /// <summary>
        /// 打印咖啡 开
        /// </summary>
        public string DYKF_Robot_Left_Start { get; set; } = "04 05 00 35 FF 00 9C 61";
        /// <summary>
        /// 打印咖啡 关
        /// </summary>
        public string DYKF_Robot_Left_End { get; set; } = "04 05 00 35 00 00 DD 91";
        /// <summary>
        /// 拉花咖啡 开
        /// </summary>
        public string LHKF_Robot_Left_Start { get; set; } = "04 05 00 36 FF 00 6C 61";
        /// <summary>
        /// 拉花咖啡 关
        /// </summary>
        public string LHKF_Robot_Left_End { get; set; } = "04 05 00 36 00 00 2D 91";
        /// <summary>
        /// 拉花出餐 开
        /// </summary>
        public string LHCC_Robot_Left_Start { get; set; } = "04 05 00 38 FF 00 0D A2";
        /// <summary>
        /// 拉花出餐 关
        /// </summary>
        public string LHCC_Robot_Left_End { get; set; } = "04 05 00 38 00 00 4C 52";
        /// <summary>
        /// 果糖 开
        /// </summary>
        public string GT_Robot_Left_Start { get; set; } = "04 05 00 39 FF 00 5C 62";
        /// <summary>
        /// 果糖 关
        /// </summary>
        public string GT_Robot_Left_End { get; set; } = "04 05 00 39 00 00 1D 92";
        /// <summary>
        /// 果糖完成 开
        /// </summary>
        public string GTWC_Robot_Left_Start { get; set; } = "04 05 00 3A FF 00 AC 62";
        /// <summary>
        /// 果糖完成 关
        /// </summary>
        public string GTWC_Robot_Left_End { get; set; } = "04 05 00 3A 00 00 ED 92";
        /// <summary>
        /// 去招手 开
        /// </summary>
        public string QZS_Robot_Left_Start { get; set; } = "04 05 00 3B FF 00 FD A2";
        /// <summary>
        /// 去招手 关
        /// </summary>
        public string QZS_Robot_Left_End { get; set; } = "04 05 00 3B 00 00 BC 52";
        #endregion
        #region 机器人左臂查询
        /// <summary>
        /// 原点左臂
        /// </summary>
        public string YD_Robot_Left_Sel { get; set; } = "04 02 00 08 00 01 38 5D";
        /// <summary>
        /// 出餐完成左臂
        /// </summary>
        public string CCWC_Robot_Left_Sel { get; set; } = "04 02 00 09 00 01 69 9D";
        /// <summary>
        /// 到落杯左臂
        /// </summary>
        public string DLB_Robot_Left_Sel { get; set; } = "04 02 00 0A 00 01 99 9D";
        /// <summary>
        /// 到打印机左臂
        /// </summary>
        public string DDYJ_Robot_Left_Sel { get; set; } = "04 02 00 0C 00 01 79 9C";
        /// <summary>
        /// 到咖啡机左臂
        /// </summary>
        public string DKFJ_Robot_Left_Sel { get; set; } = "04 02 00 0D 00 01 28 5C";
        /// <summary>
        /// 到接杯检测左臂
        /// </summary>
        public string DJBJC_Robot_Left_Sel { get; set; } = "04 02 00 0E 00 01 D8 5C";
        /// <summary>
        /// 到接冰点左臂
        /// </summary>
        public string DJBD_Robot_Left_Sel { get; set; } = "04 02 00 0F 00 01 89 9C";
        /// <summary>
        /// 到拉花点左臂
        /// </summary>
        public string DLHD_Robot_Left_Sel { get; set; } = "04 02 00 10 00 01 B8 5A";
        /// <summary>
        /// 到果糖点左臂
        /// </summary>
        public string DGTD_Robot_Left_Sel { get; set; } = "04 02 00 11 00 01 E9 9A";
        /// <summary>
        /// 招手完成左臂
        /// </summary>
        public string ZSWC_Robot_Left_Sel { get; set; } = "04 02 00 12 00 01 19 9A";
        #endregion
        #region 机器人右臂指令
        /// <summary>
        /// 开始制作 开
        /// </summary>
        public string KSZZ_Robot_Right_Start { get; set; } = "05 05 00 28 FF 00 0D B6";
        /// <summary>
        /// 开始制作 关
        /// </summary>
        public string KSZZ_Robot_Right_End { get; set; } = "05 05 00 28 00 00 4C 46";
        /// <summary>
        /// 冰咖啡 开
        /// </summary>
        public string BKF_Robot_Right_Start { get; set; } = "05 05 00 29 FF 00 5C 76";
        /// <summary>
        /// 冰咖啡 关
        /// </summary>
        public string BKF_Robot_Right_End { get; set; } = "05 05 00 29 00 00 1D 86";
        /// <summary>
        /// 拉花咖啡 开
        /// </summary>
        public string LHKF_Robot_Right_Start { get; set; } = "05 05 00 2A FF 00 AC 76";
        /// <summary>
        /// 拉花咖啡 关
        /// </summary>
        public string LHKF_Robot_Right_End { get; set; } = "05 05 00 2A 00 00 ED 86";
        /// <summary>
        /// 出冰完成 开
        /// </summary>
        public string CBWC_Robot_Right_Start { get; set; } = "05 05 00 2B FF 00 FD B6";
        /// <summary>
        /// 出冰完成 关
        /// </summary>
        public string CBWC_Robot_Right_End { get; set; } = "05 05 00 2B 00 00 BC 46";
        /// <summary>
        /// 去倒冰 开
        /// </summary>
        public string QDB_Robot_Right_Start { get; set; } = "05 05 00 2C FF 00 4C 77";
        /// <summary>
        /// 去倒冰 关
        /// </summary>
        public string QDB_Robot_Right_End { get; set; } = "05 05 00 2C 00 00 0D 87";
        /// <summary>
        /// 接奶完成 开
        /// </summary>
        public string JNWC_Robot_Right_Start { get; set; } = "05 05 00 2D FF 00 1D B7";
        /// <summary>
        /// 接奶完成 关
        /// </summary>
        public string JNWC_Robot_Right_End { get; set; } = "05 05 00 2D 00 00 5C 47";
        /// <summary>
        /// 去清洗 开
        /// </summary>
        public string QQX_Robot_Right_Start { get; set; } = "05 05 00 2E FF 00 ED B7";
        /// <summary>
        /// 去清洗 关
        /// </summary>
        public string QQX_Robot_Right_End { get; set; } = "05 05 00 2E 00 00 AC 47";
        /// <summary>
        /// 清洗完成 开
        /// </summary>
        public string QXWC_Robot_Right_Start { get; set; } = "05 05 00 2F FF 00 BC 77";
        /// <summary>
        /// 清洗完成 关
        /// </summary>
        public string QXWC_Robot_Right_End { get; set; } = "05 05 00 2F 00 00 FD 87";
        /// <summary>
        /// 去接奶 开
        /// </summary>
        public string QJN_Robot_Right_Start { get; set; } = "05 05 00 30 FF 00 8D B1";
        /// <summary>
        /// 开始制作 关
        /// </summary>
        public string QJN_Robot_Right_End { get; set; } = "05 05 00 30 00 00 CC 41";
        #endregion
        #region 机器人右臂查询
        /// <summary>
        /// 原点右臂
        /// </summary>
        public string YD_Robot_Right_Sel { get; set; } = "05 02 00 08 00 01 39 8C";
        /// <summary>
        /// 到制冰点右臂
        /// </summary>
        public string DZBJ_Robot_Right_Sel { get; set; } = "05 02 00 09 00 01 68 4C";
        /// <summary>
        /// 倒冰完成右臂
        /// </summary>
        public string DBWC_Robot_Right_Sel { get; set; } = "05 02 00 0A 00 01 98 4C";
        /// <summary>
        /// 到拉花点右臂
        /// </summary>
        public string DLHD_Robot_Right_Sel { get; set; } = "05 02 00 0B 00 01 C9 8C";
        /// <summary>
        /// 到倒冰点右臂
        /// </summary>
        public string DDBD_Robot_Right_Sel { get; set; } = "05 02 00 0C 00 01 78 4D";
        /// <summary>
        /// 到咖啡机右臂
        /// </summary>
        public string DKFJ_Robot_Right_Sel { get; set; } = "05 02 00 0D 00 01 29 8D";
        /// <summary>
        /// 清洗完成右臂
        /// </summary>
        public string QXWC_Robot_Right_Sel { get; set; } = "05 02 00 0E 00 01 D9 8D";
        #endregion
    }
}
